<?php /* Smarty version 2.6.19, created on 2008-07-12 15:13:03
         compiled from search/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'search/index.tpl', 1, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => "index.conf"), $this);?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/doctype.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<head>
    <title>Search</title>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/include.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>

<body>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/logo.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/global_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<form action="/search/result/" method="get">
    Name:<br />
    <input type="text" name="search[login]" value="<?php echo $this->_tpl_vars['search']['login']; ?>
" /><br />
    Sex:<br />
    <select name="search[sex]">
        <option value="">Select</option>
        <option value="male" <?php if ($this->_tpl_vars['search']['sex'] == 'male'): ?>selected="selected"<?php endif; ?>>Male</option>
        <option value="female" <?php if ($this->_tpl_vars['search']['sex'] == 'female'): ?>selected="selected"<?php endif; ?>>Female</option>
    </select><br />
    Age:<br />
    <input type="text" name="search[age]" value="<?php echo $this->_tpl_vars['search']['age']; ?>
" /><br />
    Connected:<input type="checkbox" name="search[con]" <?php if ($this->_tpl_vars['search']['con']): ?>checked="checked"<?php endif; ?> value="1" /><br />
    <input type="submit" value="search" />
</form>

</body>

</html>